[PW_SID:1055840] use runtime constant to optimize handle_arch_irq access#1482
[PW_SID:1055840] use runtime constant to optimize handle_arch_irq access#1482linux-riscv-bot wants to merge 3 commits intoworkflow__riscv__fixesfrom
Conversation
We will use the runtime constant to optimize the handle_arch_irq accessing. This is preparation patch. Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Currently, on GENERIC_IRQ_MULTI_HANDLER platforms, the handle_arch_irq is a pointer which is set during booting, and every irq processing needs to access it, so it sits in hot code path. We can use the runtime constant mechanism which was introduced by Linus to speed up its accessing. Tested on Sipeed Lichee Pi 4A (riscv64) board, the perf sched benchmark is improved by ~5.8% Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Currently, on arm64 platforms, the handle_arch_irq is a pointer which is set during booting, and every irq processing needs to access it, so it sits in hot code path. We can use the runtime constant mechanism which was introduced by Linus to speed up its accessing. Tested on Quad CA55 platform, the perf sched benchmark is improved by ~6.5% Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[1/3] vmlinux.lds.h: add _handle_arch_irq RUNTIME_CONST section" |
|
Patch 1: "[1/3] vmlinux.lds.h: add _handle_arch_irq RUNTIME_CONST section" |
|
Patch 1: "[1/3] vmlinux.lds.h: add _handle_arch_irq RUNTIME_CONST section" |
|
Patch 1: "[1/3] vmlinux.lds.h: add _handle_arch_irq RUNTIME_CONST section" |
|
Patch 1: "[1/3] vmlinux.lds.h: add _handle_arch_irq RUNTIME_CONST section" |
|
Patch 1: "[1/3] vmlinux.lds.h: add _handle_arch_irq RUNTIME_CONST section" |
|
Patch 1: "[1/3] vmlinux.lds.h: add _handle_arch_irq RUNTIME_CONST section" |
|
Patch 1: "[1/3] vmlinux.lds.h: add _handle_arch_irq RUNTIME_CONST section" |
|
Patch 1: "[1/3] vmlinux.lds.h: add _handle_arch_irq RUNTIME_CONST section" |
|
Patch 1: "[1/3] vmlinux.lds.h: add _handle_arch_irq RUNTIME_CONST section" |
|
Patch 1: "[1/3] vmlinux.lds.h: add _handle_arch_irq RUNTIME_CONST section" |
|
Patch 1: "[1/3] vmlinux.lds.h: add _handle_arch_irq RUNTIME_CONST section" |
|
Patch 2: "[2/3] genirq: use runtime constant to optimize handle_arch_irq access" |
|
Patch 2: "[2/3] genirq: use runtime constant to optimize handle_arch_irq access" |
|
Patch 2: "[2/3] genirq: use runtime constant to optimize handle_arch_irq access" |
|
Patch 2: "[2/3] genirq: use runtime constant to optimize handle_arch_irq access" |
|
Patch 2: "[2/3] genirq: use runtime constant to optimize handle_arch_irq access" |
|
Patch 2: "[2/3] genirq: use runtime constant to optimize handle_arch_irq access" |
|
Patch 2: "[2/3] genirq: use runtime constant to optimize handle_arch_irq access" |
|
Patch 2: "[2/3] genirq: use runtime constant to optimize handle_arch_irq access" |
|
Patch 2: "[2/3] genirq: use runtime constant to optimize handle_arch_irq access" |
|
Patch 2: "[2/3] genirq: use runtime constant to optimize handle_arch_irq access" |
|
Patch 2: "[2/3] genirq: use runtime constant to optimize handle_arch_irq access" |
|
Patch 2: "[2/3] genirq: use runtime constant to optimize handle_arch_irq access" |
|
Patch 3: "[3/3] arm64: use runtime constant to optimize handle_arch_irq access" |
|
Patch 3: "[3/3] arm64: use runtime constant to optimize handle_arch_irq access" |
|
Patch 3: "[3/3] arm64: use runtime constant to optimize handle_arch_irq access" |
|
Patch 3: "[3/3] arm64: use runtime constant to optimize handle_arch_irq access" |
|
Patch 3: "[3/3] arm64: use runtime constant to optimize handle_arch_irq access" |
|
Patch 3: "[3/3] arm64: use runtime constant to optimize handle_arch_irq access" |
|
Patch 3: "[3/3] arm64: use runtime constant to optimize handle_arch_irq access" |
|
Patch 3: "[3/3] arm64: use runtime constant to optimize handle_arch_irq access" |
|
Patch 3: "[3/3] arm64: use runtime constant to optimize handle_arch_irq access" |
|
Patch 3: "[3/3] arm64: use runtime constant to optimize handle_arch_irq access" |
|
Patch 3: "[3/3] arm64: use runtime constant to optimize handle_arch_irq access" |
|
Patch 3: "[3/3] arm64: use runtime constant to optimize handle_arch_irq access" |
PR for series 1055840 applied to workflow__riscv__fixes
Name: use runtime constant to optimize handle_arch_irq access
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1055840
Version: 1